import request from '@/utils/request'

const questionApi = {
    List: '/question/list',
    Detail: '/question/detail',
    Delete: '/question/delete',
}
// 列表
export function questionList (parameter) {
    return request({
        url: questionApi.List,
        method: 'post',
        data: parameter
    })
}
// 详情
export function questionDetail (parameter) {
    return request({
        url: questionApi.Detail,
        method: 'post',
        data: parameter
    })
}
// 删除
export function questionDelete (parameter) {
    return request({
        url: questionApi.Delete,
        method: 'post',
        data: parameter
    })
}
